package com.site.service.backend.system;

import java.util.List;

import com.site.dto.backend.system.AuthorityBizBean;
import com.site.util.base.service.BaseService;
import com.site.util.extremetable.QueryPage;

public interface AuthService extends BaseService {

	public List<AuthorityBizBean> getAuthList(QueryPage queryPage, AuthorityBizBean authorityBizBean);

	/**
	 * 根据权限名称查询权限实体
	 * @param name
	 * @return
	 */
	public AuthorityBizBean getAuthByName(String name);

	/**
	 * 根据角色id,权限，查询符合条件的权限
	 * @param roleId
	 * @param authorityBizBean
	 * @param queryPage
	 * @return
	 */
	public List<AuthorityBizBean> getNotRoleAuth(Long roleId,AuthorityBizBean authorityBizBean, QueryPage queryPage);

}
